/*
 * Copyright (c)  2020,  DataPipeline
 * All rights reserved.
 *
 * Id:DialectType.java   2020-07-11 00:49 wanglijun
 */
package cn.datacare.orm.dialect;

/**
 * <p>
 * Title: 数据库方言类型
 * </p>
 * <p>
 * Description: 数据库方言类型
 * </p>
 * <p>
 * Copyright: Copyright (c) 2020
 * </p>
 * <p>
 * Company/Department: DataPipeline
 * </p>
 *
 * @author wanglijun
 * @version 1.0
 * @since 2020-07-11 00:49
 */
public enum DialectType {
    //MySQL
    MYSQL(1),
    //Oracle
    ORACLE(2),
    //PostgreSQL
    POSTGRE_SQL(3),
    //SqlServer
    SQL_SERVER(4),
    //SqlLite
    SQL_LITE(5),
    //db2
    DB2(6),
    //h2
    H2(7),
    /**
     * 国产数据库达梦
     */
    DA_MENG(8),
    /**
     * 国产数据库
     */
    SHENG_TONG(9),
    //TiDB
    TIDB(10);
    private  final int type;

    DialectType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }
}
